import service from '@/utils/request'

export const attachmentApiList = (name: string) => {
	if(name=='page'){
		return '/sys/attach/list';
	}else if(name=='delete'){
		return '/sys/attach/del';
	}
	return "";
}


export const useAttachmentSubmitApi = (dataForm: any) => {
	return service.post('/sys/attach/add', dataForm)
}
